#! /bin/sh

#set -x

echo "# wsl settins
PS1='\\[\\033[01;32m\\]\${WSL_DISTRO_NAME}\\[\\033[00m\\]:\\[\\033[01;34m\\]\\W\\[\\033[00m\\]\\$ '
alias npp='/mnt/d/tools/notepadpp/notepad++.exe'
" >> ~/.profile

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
sudo sed -i s@https*://archive.ubuntu.com@http://localhost@g /etc/apt/sources.list
sudo sed -i s@https*://security.ubuntu.com@http://localhost@g /etc/apt/sources.list

mkdir ~/.pip
cp .seed/pip.conf ~/.pip/pip.conf

mkdir ~/.configs
cp .seed/podman.conf ~/.configs/podman.conf
cp .seed/docker.daemon.json ~/.configs/docker.daemon.json
